﻿package scrn;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;


public class MPanel extends JPanel {

public JButton but01; 
public JButton but02; 
public JTextField text01;


	private static final long serialVersionUID = 1L;

	public MPanel (){
		init();
	}
	
	public void init(){
		but01 = new JButton();
		but01.setText("Hello");
		
		but02 = new JButton();
		but02.setText("Hello2");
		
		text01 = new JTextField();
		text01.setColumns(30);
		
		
		this.add(text01);
		
		this.add(but01);
		this.add(but02);
	}
	
	
}
